<?php

/**
 * The default application controller specified in the default configuration
 * routes. See the config file for more information on routes.
 *
 * @author      Unknown <unknown@example.com>
 */
class MainController extends Majic
{

    /**
     * The main index page.
     *
     * @return  void
     * @access  public
     */
    public function index()
    {
        $this->view->layout('default');
    }

    /**
     * The default 404 error page.
     *
     * @return  void
     * @access  public
     */
    public function notFound()
    {
        $uri = $_SERVER['REQUEST_URI'];
        Majic::showError(404, "uri=$uri");
    }

}

?>
